/* ***********************************************************************
 * Copyright (C) 1992-2014 中国南方航空股份有限公司.
 *
 * Created [2014-5-5 下午3:02:46] by FMS Team
 * ***********************************************************************
 *
 * fms-udp
 * ***********************************************************************
 */
package com.foreveross.law.base.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.foreveross.law.base.dao.BaseRepository;
import com.foreveross.law.base.service.IBaseService;

/**
 * <p>
 * com.csair.udp.common.service.impl.BaseServiceImpl.java
 * </p>
 * 
 * @author liaocw(mail)
 * @version $Revision$ $Date$
 * @Modified by liaocw(mail) description
 * @purpose add this file description here
 */

@Service("baseService")
public class BaseServiceImpl<T> implements IBaseService<T> {
	private BaseRepository<T> baseRepository;

	@Resource(name = "baseRepository")
	public void setBaseDao(BaseRepository<T> baseRepository) {
		this.baseRepository = baseRepository;
	}

	public BaseRepository<T> getBaseDao() {
		return baseRepository;
	}
}
